From b03e0f2ffbaf9a612a17896297c838dc02505ab7 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 13 Jul 2005 04:53:49 +0000 Subject: [PATCH] Add a warning about unreffing icon themes. (#310163, Rodney Dawes) 2005-07-13 Matthias Clasen * gtk/gtkicontheme.c (gtk_icon_theme_get_default) (gtk_icon_theme_get_for_screen): Add a warning about unreffing icon themes. (#310163, Rodney Dawes) --- ChangeLog | 6 ++++++ ChangeLog.pre-2-10 | 6 ++++++ ChangeLog.pre-2-8 | 6 ++++++ gtk/gtkicontheme.c | 4 ++-- 4 files changed, 20 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b4e55c2e41..739b8a99df 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-07-13 Matthias Clasen + + * gtk/gtkicontheme.c (gtk_icon_theme_get_default) + (gtk_icon_theme_get_for_screen): Add a warning about + unreffing icon themes. (#310163, Rodney Dawes) + 2005-07-13 Kristian Rietveld * gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach): quit diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index b4e55c2e41..739b8a99df 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +2005-07-13 Matthias Clasen + + * gtk/gtkicontheme.c (gtk_icon_theme_get_default) + (gtk_icon_theme_get_for_screen): Add a warning about + unreffing icon themes. (#310163, Rodney Dawes) + 2005-07-13 Kristian Rietveld * gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach): quit diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index b4e55c2e41..739b8a99df 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +2005-07-13 Matthias Clasen + + * gtk/gtkicontheme.c (gtk_icon_theme_get_default) + (gtk_icon_theme_get_for_screen): Add a warning about + unreffing icon themes. (#310163, Rodney Dawes) + 2005-07-13 Kristian Rietveld * gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach): quit diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c index 3115989300..74af659eee 100644 --- a/gtk/gtkicontheme.c +++ b/gtk/gtkicontheme.c @@ -287,7 +287,7 @@ gtk_icon_theme_new (void) * Return value: A unique #GtkIconTheme associated with * the default screen. This icon theme is associated with * the screen and can be used as long as the screen - * is open. + * is open. Do not ref or unref it. * * Since: 2.4 **/ @@ -313,7 +313,7 @@ gtk_icon_theme_get_default (void) * Return value: A unique #GtkIconTheme associated with * the given screen. This icon theme is associated with * the screen and can be used as long as the screen - * is open. + * is open. Do not ref or unref it. * * Since: 2.4 **/ -- 2.30.2